package com.xiaomi.dao;

import com.xiaomi.pojo.Order;
import com.xiaomi.pojo.User;

import java.util.List;

/**
 * @ClassName OrderDao
 * @Author xiao宋
 * @Date 8:47  2022/9/16
 * @Version 1.0
 * @Description TODO
 */
public interface OrderDao {
    List<Order> getOrderList(int uid);

    void inesert(Order order);

    void upDateStatus(String orderId, String status);

    Order findOrderById(String oid);

    List<Order> getUserAllOrder(int uid);

    User getUser(int uid);

    void sendOrder(String oid);
}
